<?php if ($refundList->num_rows() > 0 ) : ?>
<?php foreach ($refundList->result() as $value) : ?>
	<dd>
		<a href="javascript:;">
			<div class="lert-dd">
				<h6>
					<div class="lert-style flex">
						<p class="flex-1">退款单号 <?php echo $value->order_sn; ?></p>
						<div class="lert-deta">
							<?php switch ($value->flag) {
							case 1:
								echo '申请退款';
								break;
							case 2:
								echo '审核成功';
								break;
							default:
								echo '审核失败';
								break;
						}; ?>
						</div>
					</div>
					<p class="lert-time"><?php echo $value->created_at; ?></p>
				</h6>
				<div class="lert-list">
					<p><?php echo $value->line_name; ?></p>
					<span><?php echo substr($value->start_date, 0, 10), '&nbsp;&nbsp;', $value->travel_days, '天&nbsp;&nbsp;', $value->adult_num, '大&nbsp;&nbsp;', $value->children_num, '小';  ?></span>
				</div>
			</div>
			<div class="lert-price">退款价格：<i>￥<?php echo $value->order_pay_total; ?></i></div>
		</a>
	</dd>
<?php endforeach; ?>
<?php endif; ?>